<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        .box{
            position: relative;
            width: 320px;
            height: 214px;
            overflow: hidden;
            
        }
        .box img{
            width: 100%;
            height: 100%;
        }
        .box1{
            position: absolute;
            left: 0;
            width: 320px;
            height: 214px;
            bottom: -100%;
            background: linear-gradient(to bottom, rgba(72, 76, 97, 0) 0%, rgba(72, 76, 97, 0.6) 60%);
            transition: .5s;
            
            
        }
        .a{
            position: absolute;
            top:90%;
            left: 50%;
            transform: translate(-50%,-50%);
            color: white;
            transition: 1s;
            
            
            
        }
        .b{
            position: absolute;
            top: 95%;
            width: 100%;
            text-align: center;
            font-size: 12px;
            color: white;
            opacity: 0;   

        }
        .box:hover .box1{
            bottom: 0;
            /* opacity: 1; */
        }
        .box:hover .a{
            transform: translate(-50%,50%);
            top:50%;
            
             
        }
        .box:hover .b{           
            opacity: 1;
        }
        
        .box2{
            position: absolute;
            width: 320px;
            height: 214px;
            left: 0;
            top: 0;
            transition: 2s;
        }
        
        .xbox2{
            position: absolute;
            width: 200px;
            height: 100px;
            top: 50%;
            left: 50%;
            transform: translate(-50%,-50%);
            border: 0 solid white;
            transition: 1s;
        }
        .box:hover .box2{
            background-color: black;
            opacity: 0.3;
        }
        .box:hover .xbox2{
            width: 320px;
            height: 214px;
            border: 1px solid white;
            
            bottom: 0;
        }
        .c{
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%,-50%);
        }
        .box0{
            position: relative;
            width: 320px;
            height: 180px;
            margin-left: 50px;
            box-shadow: 5px 5px 5px gray;
        }
        .box31{
            position: absolute;
            background: url(3.jpg);
            width: 320px;
            height: 180px;
            transition: .5s;
        } 
        .n{
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%,-50%);
            font-size: 15px;
        }
            
        .box0:hover .box31{
           
            background-color: gray;
            opacity: 0.8;
            transform: translate(-20px,0);
            
        }
        .d{
            position: absolute;
            top: 140px;
            left: 50%;
            transform: translate(-50%,0);
            transition: 1s;
            color: white;    
            opacity: 0;       
        }
        .box0:hover .d{
            opacity: 1;
            transform: translate(-50%,-50%);
            left: 50px;
            
        }
        
        .boxn{
            position: relative;
            width: 320px;
            height: 214px;
            transition: 3s;
            overflow: hidden;
            transition: 1s;
        }
        .boxn img{
            transition: 1s;
        }
        .boxn:hover{
            filter: grayscale(100%);
        }
        .boxn:hover img{
            transform: scale(1.5);
        }
        .boxn img{
            width: 320px;
            height: 214px;
           
        }
        .e{
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%,-50%);
        }
        .f{
            position: absolute;
            top: 180px;
            left: 50%;
            transform: translate(-50%,0);
            opacity: 0;
        }
        .boxn:hover .f{
            opacity: 1;
        }
        .box5{
            position: relative;
            width: 320px;
            height: 240px;
            overflow: hidden;
        }
        .box6{
            position: absolute;
            top: 0;
            left: 0;
            width: 320px;
            height: 240px;
            transition: 1s;
           
        }
        .box5:hover .box6{
            background-color: greenyellow;
            opacity: 0.3;
        }
        .g{
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%,-50%);
            color: white; 
            opacity: 0;
        }
        .h{
            position: absolute;
            top: 180px;
            left: 50%;
            transform: translate(-50%,0);
            opacity: 0;
        }
        .box7{
            position: absolute;
            width: 320px;
            height: 240px;
            top: 50%;
            left: 50%;
            transform: translate(-50%,-50%);
            border: 1px solid white;
            transition: 1s;
        }
        .box6:hover .box7{
            width: 200px;
            height: 150px;
            border: 1px solid white;
        }
        .box5:hover .g{
            opacity: 1;
        }
        .box5:hover .h{
            opacity: 1;
        }
    </style>
    <title>Document</title>
</head>
<body>
    <div class="box"> 
        <img src="1.jpg">
        <div class="box1"></div>
        <h2 class="a">EMMYLOU</h2>
        <p class="b">I'll be your Emmylou and I'll be your June</p>       
    </div>
    <div class="box"> 
        <img src="2.jpg">
        <div class="box2"><div class="xbox2"></div></div>
        <h2 class="c">Jenny of Oldstones</h2>      
    </div>
    <div class="box0"> 
        <div class="box31"></div>
        <h2 class="n">The Pursuit of</h2>
        <p class="d">HAPPINESS</p>  
    </div>
    <div class="boxn"> 
        <img src="4.jpg">
        <div class="box4"></div>
        <h2 class="e">Postcards From Ital</h2>  
        <p class="f">And I will love to see that day</p>    
    </div>
    <div class="box5"> 
        <img src="5.jpg">
        <div class="box6"><div class="box7"></div></div>
        <h2 class="g">Blue Ridge</h2>  
        <p class="h">MOUNTAINS</p>    
    </div>

</body>
</html>